package com.tobeface.wechat.message;

import java.nio.charset.Charset;

/**
 * @author loudyn
 */
public interface WeChatMessageChannel {

    /**
     * @param result
     */
    void write(String result);

    /**
     * @param result
     * @param charset
     */
    void write(String result, Charset charset);

    /**
     * @param outMessage
     */
    void writeMessage(WeChatMessage outMessage);

    /**
     *
     */
    void flush();
}
